package com.explment.lens.controller.dict;

import com.explment.lens.entity.SysDictTypeEntity;
import com.explment.lens.service.SysDictTypeService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 字典类型 controller
 */
@RestController
@RequestMapping("/sysDictTypeEntity")
public class SysDictTypeController {
    @Autowired
    private SysDictTypeService sysDictTypeEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysDictTypeEntityService.getById(id));
    }
}